<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/', function () {
    for ($i = 0; $i < 50; $i++) {
        echo $i.'</br>';
        // Artisan::queue(new \App\Jobs\test($i));
        dispatch(new \App\Jobs\test("test_".$i));
    }
});

Route::group(['namespace' => 'pano'], function () {
    Route::resource('pano', 'MakePanoController', ['except' => ['index','create']]);
});
